package com.xjmall.dao;

import com.xjmall.pojo.Banner;

import java.util.List;

public interface BannerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Banner record);

    int insertSelective(Banner record);

    Banner selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Banner record);

    int updateByPrimaryKey(Banner record);
    // 查询轮播总数
    int selectBannerCount();
    // 获取轮播列表
    List<Banner> selectBannerList();
}